@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    @if('000000' == item.empCode){
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="ProqualifyTrainPointsInfoDlg.selectEmp($(this))" underline="true"/>
                    @}else{
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="ProqualifyTrainPointsInfoDlg.selectEmp()" disabled="true" underline="true"/>
                    @}

                    <#select id="proWork" value="${item.proWork}" name="技能鉴定工种" underline="true">
                        @ for(p in proWorks!){
                        <option value="${p.name}">${p.name}</option>
                        @}
                    </#select>
                    <#input id="agency" value="${item.agency}" name="鉴定机构" underline="true"/>
                    <#input id="approvalUnit" value="${item.approvalUnit}" name="批准单位" underline="true"/>
                    <#TimeConInput id="dispatch" value="${item.dispatch}" name="发文日期" isTime="false" pattern="yyyy-MM-dd" underline="true"/>
                    <#YearConInput id="year" value="${item.year}"  name="年度" isTime="false" underline="true"/>

                </div>

                <div class="col-sm-6">
                    <#input id="empName" disabled="true" value="${item.empName}" name="员工姓名" underline="true"/>
                    <#select id="qualifyLevel" value="${item.qualifyLevel}" name="职业资格等级" underline="true">
                        @ for(p in proqualifys!){
                        <option value="${p.grade}" integral="${p.integral}">${p.grade}</option>
                        @}
                    </#select>
                    <#input id="cerNumber" value="${item.cerNumber}" name="证书编号" underline="true"/>
                    <#input id="approvalDoc" value="${item.approvalDoc}" name="批准文件" underline="true"/>
                    <#select id="getWay" value="${item.getWay}" name="取得方式" underline="true">
                        @ for(p in getWays!){
                        <option value="${p.name}">${p.name}</option>
                        @}
                    </#select>
                    <#input id="integral" disabled="true" value="${item.integral}" name="获得积分" underline="true"/>

                </div>
                <div class="col-sm-12">
                    <#select id="isSame" value="${item.isSame}" name="技能鉴定工种是否与现岗位一致" underline="true">
                        @ for(p in isSames!){
                        <option value="${p.name}">${p.name}</option>
                        @}
                    </#select>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ProqualifyTrainPointsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ProqualifyTrainPointsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/train/proqualifyTrainPoints/proqualifyTrainPoints_info.js?v=${version}"></script>
@}
